package com.eclink.asset.domain.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.eclink.asset.asset.domain.dao.AssetInventoryRelItem;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class AssetInventoryDetailDTO{

    private String id;

    // 编号
    private String number;

    // 标题名称
    private String title;

    // 数量
    private Integer num;

    // 用户ID
    private Long userId;

    // 用户名
    @TableField(exist = false)
    private String userName;

    // 结果编码
    private Integer resultCode;

    // 备注
    private String remark;

    // 状态
    private Integer state;

    @ApiModelProperty("入库处理时间")
    private LocalDateTime handleTime;

    // 关联的入库清单
    private List<AssetInventoryRelItem> items;

}
